package com.ltu.service.tencent;

import java.util.Set;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class AsynTencentService {

	@Async("asyncServiceExecutor")
	public  void sendYuYinMsgAsyn(Set<String> phones, String[] templateParamSet) {
		for (String calledNumber : phones) {
			SendTtsVoice.sendYuYinMsg(calledNumber,templateParamSet);
		}
	}
}
